package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 换电套餐订单表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_member_combo_order")
@ApiModel(value = "XhMemberComboOrder对象", description = "换电套餐订单表")
public class XhMemberComboOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("会员ID")
    private Integer memberId;

    @ApiModelProperty("套餐ID")
    private Integer comboId;

    @ApiModelProperty("门店id")
    private Integer shopId;

    @ApiModelProperty("电池规格id")
    private Integer batteryInfoId;

    @ApiModelProperty("电压(V)")
    private Integer snapVoltage;

    @ApiModelProperty("安时(Ah)")
    private Integer snapAmpereHour;

    @ApiModelProperty("市场售价")
    private BigDecimal snapMarketPrice;

    @ApiModelProperty("支付金额")
    private BigDecimal payPrice;

    @ApiModelProperty("优惠券id")
    private Integer couponId;

    @ApiModelProperty("优惠金额")
    private BigDecimal couponPrice;

    @ApiModelProperty("订单状态：0.待支付(默认)1.已付款2.支付完成(回调确认)3.已关闭(订单超时)")
    private Integer orderStatus;

    @ApiModelProperty("创建时间")
    private Date createTime;

    private String rentCode;

}
